home *** CD-ROM | disk | FTP | other *** search
/ PC Direct 1995 May / PC Direct CD-ROM (May 1995).ISO / ipe / bri120e / disk1 / lib4esd.lib / DOS4TO5.SCR < prev    next >
Encoding:
Text File  |  1994-02-01  |  515 b   |  11 lines

  1. SETSYSFILE [BOOT_ROOT] "AUTOEXEC.BAT"
  2. ;these four lines sets the path for edits to the autoexec.bat
  3.     IF [DISKSPACE] >= 2200000  ;checks for proper disk space
  4.        UPGRADEOS 5.00  ;performs the upgrade procedure
  5.        DELETEDIR [BOOT_ROOT] "DOS4O" ALL ;removes old DOS directory
  6.        REPLACELINE "path" "Path=c:\dos5" ; updates path statement to new DOS 
  7.        REPLACEKEY "C:\DOS4o\SHARE" "C:\DOS4o\SHARE"  "" ;removes the share executable
  8.     ELSE
  9. EXIT 1 ;if not enough space program exits
  10. ENDIF
  11.